package com.zzmx.springboot.atomikos.controller;

import com.zzmx.springboot.atomikos.service.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@Autowired
	private TestServiceImpl service;

	@RequestMapping("/test")
	public String test() {
		service.test();
		return "test";
	}
}
